<br/>
<div >
	<div class="table">

           {if $aSettings.fc_extendserver==2}
           	<div  align="center" >
           		<script language="javascript" style="width:{$aSettings.fc_client_width};height:{$aSettings.fc_client_height}" src={$swfurl}></script>
           	</div>
           {else}
           	<div align="center" id="flash">
           		<script src="{$aSettings.fc_client_loc}123flashchat.js"></script>
           		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
           				width="{$aSettings.fc_client_width}" height="{$aSettings.fc_client_height}"
           				codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,19,0" id="topcmm_123flashchat" type="application/x-shockwave-flash">
           			<param name="movie" value="{$swfurl}">
           			<param name="quality" value="high">
           			<param name="menu" value="false">
           			<param name="allowScriptAccess" value="always" />
           			<embed src="{$swfurl}" quality="high" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" name="topcmm_123flashchat"
           			 	width="{$aSettings.fc_client_width}" height="{$aSettings.fc_client_height}">
           			</embed>
           		</object>
           	</div>
           {/if}

	</div>
</div>
<h3>CHAT ROOMS</h3>
<div class="table">
{if $aSettings.fc_extendserver!=2}Total rooms: {$status.rn};{/if}
{if $aSettings.fc_extendserver!=2}Total connections: {$status.cn};{/if}
Login users: {$status.ln}
</div>

{if $aSettings.fc_room_list==1 && $aSettings.fc_extendserver!=2 }

<div class="table">
	Chat Rooms:

	{foreach from=$rooms key=name item=room}
		<a href="{url link='topcmmchat.chatroom' id=$room.id}" title="123flashchat" >{$room.name}</a>({$room.count});
	{/foreach}
</div>
{/if}

{if $aSettings.fc_user_list==1}

<div class="table">
	User List:

	{if $users == null}
		none
	{else}
		{foreach from=$users item=user}
			{foreach from=$user item=userone}
				{$userone.name};
			{/foreach}
		{/foreach}
	{/if}
</div>
{/if}
<br/>